home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Frameworks / PennyWise™ Framework / PennyWise Includes / PWWindowList.h < prev    next >
Encoding:
Text File  |  1994-08-09  |  1.3 KB  |  34 lines  |  [TEXT/KAHL]

  1. //••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  2. //                                                                                //
  3. //                                                                                //
  4. //                    Copyright PennyWise Software, 1994.                            //
  5. //                                                                                //
  6. //            Part of the PennyWise Software Application Framework                //
  7. //                                                                                //
  8. //                                                                                //
  9. //            PWWindowList.h            Written by Peter Kaplan                        //
  10. //                                                                                //
  11. //                                                                                //
  12. //••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  13. //                                                                                //
  14. //                                                                                //
  15. //••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
  16. #ifndef _PWWINDOW_LIST_
  17. #define _PWWINDOW_LIST_
  18.  
  19. // These are the valid types for Installing in PWFramework.LIB field
  20. #define    kWINDOW_TYPE_APPLICATION    0
  21. #define kWINDOW_TYPE_MOVABLE_MODAL    1
  22. #define kWINDOW_TYPE_DIALOG            2
  23. #define kWINDOW_TYPE_BACKGROUND        3
  24. #define    kWINDOW_TYPE_FLOATING        4    /* Not yet fully defined in system */
  25.  
  26.     // We could have implemented this just by insisting the first 
  27.     // field of your refCon field be a short to hold the ID.
  28.     // But, this way we can add fields as needed and users 
  29.     // only have to recompile to make it work.
  30.     typedef struct    WindowParamHeader {
  31.         short    theID;        // The window id (as defined in WindowID.h)
  32.         } WindowParamHeader, *WindowParamPtr, **WindowParamHandle; 
  33.  
  34. #endif _PWWINDOW_LIST_